php iterate array keys

31

php iterate array keys -

foreach ($arr as $key => $value) {
    echo "{$key} => {$value} ";
    print_r($arr);
}

Comments

Submit
0 Comments